﻿using System;
using System.Collections.Generic;
using System.Data.SQLite;

using DataLite.Values;

namespace DataLite
{
    public interface ISqliteMasterDAO
    {        
        int Count();
        
        List<SqliteMasterVO> SelectAll(string connectionString);
        List<SqliteMasterVO> SelectAll(DataHelper dataHelper);

        List<SqliteMasterVO> SelectByName(string name, string connectionString);
        List<SqliteMasterVO> SelectByName(string name, DataHelper dataHelper);

        List<SqliteMasterVO> SelectByType(string type, string connectionString);
        List<SqliteMasterVO> SelectByType(string type, DataHelper dataHelper);

        SqliteMasterVO MakeVO(SQLiteDataReader dataReader, DataHelper dataHelper);
    }
}
